<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <title>Produccion</title>
    </h:head>
    
    <h:body>
        
        <p:layout fullPage="true">
                
            <p:layoutUnit position="north" size="100" resizable="true" closable="true" collapsible="true">
                    <A href="index.xhtml"><img src="imgs/Cabeza.png" width="100%" height="37" alt="Cabeza"/></A>
                    <center><h3>Producto/Catálogo Productos</h3> </center>
                </p:layoutUnit>    
                           
                <p:layoutUnit position="west" size="265" header="Left" collapsible="true">
    
    <h:form>
    <p:growl autoUpdate="true"/>
 
    <p:panelMenu style="width:240px">
        <p:submenu label="Producción">
            <p:submenu label="Órdenes">
                <p:submenu label="Manual">
                    <p:menuitem value="Crear" outcome="alt_pedido.xhtml" actionListener="#{menuView.delete}"/>
                    <p:menuitem value="Lista órdenes" outcome="list_ord.xhtml" actionListener="#{menuView.delete}"/>
                    </p:submenu>    
                <p:submenu label="Automática">
                    <p:menuitem value="Configurar" outcome="config_autom.xhtml" actionListener="#{menuView.delete}"/>
                    </p:submenu>
            </p:submenu>
            <p:menuitem value="Status órdenes" outcome="stat_orden.xhtml" actionListener="#{menuView.save}" />
        <p:separator />
        </p:submenu>
        <p:submenu label="Cálculo">
            <p:menuitem value="Mano de Obra" outcome="calc_mo" actionListener="#{menuView.delete}"/>
            <p:menuitem value="Materiales" outcome="calc_mat.xhtml" actionListener="#{menuView.delete}"/>
            <p:menuitem value="Maquinaria" outcome="calc_maq.xhtml" actionListener="#{menuView.delete}"/>
        </p:submenu>
        <p:separator />
        <p:submenu label="Productos">
            <p:menuitem value="Listado Materiales" outcome="prod_list_mat.xhtml" actionListener="#{menuView.delete}"/>
            <p:submenu label="Productos">
                <p:menuitem value="Crear" outcome="prod_crearproducto.xhtml" actionListener="#{menuView.delete}"/>
                <p:menuitem value="Ver Catálogo" outcome="prod_catalogo_prod.xhtml" actionListener="#{menuView.delete}"/>
            </p:submenu>
        </p:submenu>
        <p:separator />
        <p:submenu label="Etiquetación" >
            <p:menuitem value="Crear e imprimir" outcome="etiq_crearimp.xhtml" actionListener="#{menuView.delete}"/></p:submenu>
        <p:submenu label="Reportes" >
            <p:menuitem value="Ver e imprimir" outcome="repor_verimpr.xhtml" actionListener="#{menuView.delete}"/>
        </p:submenu>
    </p:panelMenu>
</h:form> 
                
                </p:layoutUnit>
                
                <p:layoutUnit position="center">
                    
                </p:layoutUnit>
                
                <p:layoutUnit position="south" size="58" closable="false" collapsible="false">
                <img src="imgs/pie.png" width="100%" height="37" alt="pie"/>                        
                </p:layoutUnit>                
             </p:layout>
        
    </h:body>
</html>